<?php
include ("inc/header.php");
$url="pic.php?menuname=1_2";

?>
 <form name="form1" action="<?echo $url?>" method="post">
 </form>
<!--main start-->
<div class="main">
	<div class="video_list2">
		<div class="movie_tip"></div>
		<div class="movie_title">Popular Pic</div>
		<ul>
			<?
			$tab="pic";
			include ("pagination.php");
			$i=1;
			while ($rs=mysql_fetch_array($result)){
			?>
				<li><a href="pic_detail.php?id=<?=$rs["id"]?>"><img src="<?=$rs["text"]?>" /></a></li>
			<?
			$i=$i+1;
			}
			?>
		</ul>
		<div class="page"><?include ("page.php");?></div>
	</div>
	<!--footer start-->
		<?php
		include ("inc/footer.php");
		?>
	<!--footer end-->
</div>
<!--main end-->

</body>
</html>
